home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 1041 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.9 KB

  1. From: mike_duigou@fwb.com (Mike Duigou)
  2. Message-ID: <mike_duigou-0804961108400001@news.aimnet.com>
  3. X-Original-Date: 8 Apr 96 18:08:40 GMT
  4. Path: in2.uu.net!bounce-back
  5. Date: 12 Apr 96 07:28:40 GMT
  6. Approved: fjh@cs.mu.oz.au
  7. Return-Path: <daemon@meeker.UCAR.EDU>
  8. Newsgroups: comp.std.c++
  9. Subject: Draft Std. C++ Preprocessor
  10. Keywords: preprocessor
  11. Reply-To: mike_duigou@fwb.com
  12. Organization: FWB Inc.
  13. X-Newsreader: Yet Another NewsWatcher 2.2.0b6
  14. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  15.     iQBFAgUBMW4GL+EDnX0m9pzZAQF+LQF6AstowAlw0+GcWHvCnqbNyOu5YN5Pqv/m
  16.     PloAXj5H4vJiOvfHl+YV/WHCDRK/Yl9r
  17.     =XaJx
  18.  
  19. While reading parts of the April 1995 draft I noticed that the section on
  20. preprocessing seemed to be pretty much the same as the ANSI C
  21. preprocessor. Was there a concious descision to make no changes? What if
  22. any are the differences between the proposed C++ preprocessor and the
  23. existing ANSI preproccor?. One change I was hoping for was the inclusion
  24. of a non-fatal "#warning" directive to match the fatal '#error" directive.
  25. (hey, the compiler can make both errors and warnings, why can't I?). As
  26. you probably know, a number of compilers support the #warning directive.
  27. Additionally, adding some reccomended pragmas such as (I am sure there are
  28. other "standard" (or annoyingly non-standard) pragmas I could think of if
  29. pressed);
  30.  
  31. #pragma once
  32. #pragma unused funcname varname{,varname...}
  33.  
  34. would have been nice.
  35.  
  36. Mike Duigou
  37. FWB Inc.
  38. -- 
  39. "Me, when I have nothing to say, my lips are sealed." -- Talking Heads
  40. ---
  41. [ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
  42. [ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
  43. [ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
  44. [ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
  45. [ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]
  46.